package com.briup.jz.service;

import com.briup.jz.bean.Comment;
import com.briup.jz.bean.extend.CommentExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;
/**
 * @program: jz
 * @description: 评论业务接口
 * @author: catmilko
 * @create: 2020/6/12 15:56
 **/

public interface ICommentService {
    List<Comment> findAll();

    List<CommentExtend> findAllWithChild();

    Comment selectById(Long id);

    void deleteById(long id) throws CustomerException;

    void commit(Comment comment)throws CustomerException;
}
